package cn.cdeden.knowledge.domain.dto;

import com.alibaba.fastjson.annotation.JSONField;
import com.alibaba.fastjson.serializer.ToStringSerializer;
import lombok.*;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
* @author Chen
* @date 2023-11-23
*/
@Data
@Builder
@Accessors(chain = true)
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = false)
public class TeamRolePermDto implements Serializable {
    private static final long serialVersionUID = 1L;

//    @ApiModelProperty(value = "id")
    /** 防止精度丢失 */
    @JSONField(serializeUsing = ToStringSerializer.class)
    private Long id;

//    @ApiModelProperty(value = "权限解释")
    private String remark;

//    @ApiModelProperty(value = "新建")
    private Integer add;

//    @ApiModelProperty(value = "编辑")
    private Integer update;

//    @ApiModelProperty(value = "删除")
    private Integer delete;

//    @ApiModelProperty(value = "查看")
    private Integer check;

//    @ApiModelProperty(value = "下载")
    private Integer download;

//    @ApiModelProperty(value = "复制")
    private Integer copy;

//    @ApiModelProperty(value = "移动")
    private Integer move;

//    @ApiModelProperty(value = "分享链接")
    private Integer share;

//    @ApiModelProperty(value = "分发")
    private Integer distribute;

//    @ApiModelProperty(value = "权限控制")
    private Integer jurisdiction;

//    @ApiModelProperty(value = "创建者")
    private Long createId;

//    @ApiModelProperty(value = "创建时间")
    private Date createTime;

//    @ApiModelProperty(value = "更新者")
    private Long updateId;

//    @ApiModelProperty(value = "更新时间")
    private Date updateTime;
}
